\hypertarget{class_timer}{\section{Timer类 参考}
\label{class_timer}\index{Timer@{Timer}}
}


定时器基类(基于事件消息的定时器)  




{\ttfamily \#include $<$Timer.\+h$>$}

类 Timer 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_timer}
\end{center}
\end{figure}
\subsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_timer_a4fb0c72d60a875fbbb392ac17b9b620d}{{\bfseries Timer} (\hyperlink{struct_rtc_time___s}{Rtc\+Time\+\_\+\+S} abs\+Time)}\label{class_timer_a4fb0c72d60a875fbbb392ac17b9b620d}

\item 
\hypertarget{class_timer_ae6babe38505b25e1edb983d336cf1f83}{{\bfseries Timer} (uint32 interval, T\+I\+M\+E\+\_\+\+U\+N\+I\+T\+\_\+\+E unit)}\label{class_timer_ae6babe38505b25e1edb983d336cf1f83}

\item 
\hypertarget{class_timer_aa9b26bd29bc63f27256a36a474735009}{sint32 {\bfseries reset} ()}\label{class_timer_aa9b26bd29bc63f27256a36a474735009}

\item 
\hypertarget{class_timer_a3d05581faf43ff054ccb4a97eb0338bb}{virtual void {\bfseries on\+Timer} ()=0}\label{class_timer_a3d05581faf43ff054ccb4a97eb0338bb}

\end{DoxyCompactItemize}
\subsection*{静态 Public 成员函数}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{class_timer_a83a686df8682138c723b366d13bcdb00}{ms\+Delay} (uint32 ms)
\begin{DoxyCompactList}\small\item\em 毫秒延时函数 \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected 成员函数}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_timer_afad90f6182ec07e36d1e402c9a86410b}{void {\bfseries on\+Tick} ()}\label{class_timer_afad90f6182ec07e36d1e402c9a86410b}

\end{DoxyCompactItemize}
\subsection*{Protected 属性}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_timer_aca46f0ec11f3d0f196e1361484c0388d}{T\+I\+M\+E\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+E {\bfseries m\+\_\+type}}\label{class_timer_aca46f0ec11f3d0f196e1361484c0388d}

\item 
\hypertarget{class_timer_a0dc7c5120e2ead69ca072b0a563a3e84}{uint32 {\bfseries m\+\_\+event}}\label{class_timer_a0dc7c5120e2ead69ca072b0a563a3e84}

\end{DoxyCompactItemize}
\subsection*{友元}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_timer_a8f762e12639d620eb0f10068e6ab6521}{class {\bfseries Timer\+Manager}}\label{class_timer_a8f762e12639d620eb0f10068e6ab6521}

\end{DoxyCompactItemize}


\subsection{详细描述}
定时器基类(基于事件消息的定时器) 

\subsection{成员函数说明}
\hypertarget{class_timer_a83a686df8682138c723b366d13bcdb00}{\index{Timer@{Timer}!ms\+Delay@{ms\+Delay}}
\index{ms\+Delay@{ms\+Delay}!Timer@{Timer}}
\subsubsection[{ms\+Delay}]{\setlength{\rightskip}{0pt plus 5cm}void Timer\+::ms\+Delay (
\begin{DoxyParamCaption}
\item[{uint32}]{ms}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{class_timer_a83a686df8682138c723b366d13bcdb00}


毫秒延时函数 


\begin{DoxyParams}{参数}
{\em ms} & 要延时的毫秒数 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
void 
\end{DoxyReturn}
\begin{DoxyNote}{注解}
none 
\end{DoxyNote}


该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
libemb/inc/\hyperlink{_timer_8h}{Timer.\+h}\item 
libemb/src/Timer.\+cpp\end{DoxyCompactItemize}
